﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using mylist.domain;

namespace mylist.mvc3.Controllers
{
    public class AlbumsController : Controller
    {

        public ActionResult Index()
        {
            var list = new List<Album>
                           {
                               new Album {Name = "Pretty hate machine"},
                               new Album {Name = "Far beyond driven"},
                               new Album {Name = "Demanufacture"},
                           };
            return View(list);
        }

    }
}
